Optimal. Leaf size=59 \[ \frac {x \sqrt {1-a^2 x^2}}{6 a}+\frac {\text {ArcSin}(a x)}{6 a^2}-\frac {\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {6141, 201, 222}
\begin {gather*} \frac {\text {ArcSin}(a x)}{6 a^2}+\frac {x \sqrt {1-a^2 x^2}}{6 a}-\frac {\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 222
Rule 6141
Rubi steps
\begin {align*} \int x \sqrt {1-a^2 x^2} \tanh ^{-1}(a x) \, dx &=-\frac {\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}+\frac {\int \sqrt {1-a^2 x^2} \, dx}{3 a}\\ &=\frac {x \sqrt {1-a^2 x^2}}{6 a}-\frac {\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}+\frac {\int \frac {1}{\sqrt {1-a^2 x^2}} \, dx}{6 a}\\ &=\frac {x \sqrt {1-a^2 x^2}}{6 a}+\frac {\sin ^{-1}(a x)}{6 a^2}-\frac {\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 49, normalized size = 0.83 \begin {gather*} \frac {a x \sqrt {1-a^2 x^2}+\text {ArcSin}(a x)-2 \left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{6 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 1.36, size = 99, normalized size = 1.68
method | result | size |
default | \(\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}\, \left (2 a^{2} x^{2} \arctanh \left (a x \right )+a x -2 \arctanh \left (a x \right )\right )}{6 a^{2}}+\frac {i \ln \left (\frac {a x +1}{\sqrt {-a^{2} x^{2}+1}}+i\right )}{6 a^{2}}-\frac {i \ln \left (\frac {a x +1}{\sqrt {-a^{2} x^{2}+1}}-i\right )}{6 a^{2}}\) | \(99\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.46, size = 50, normalized size = 0.85 \begin {gather*} -\frac {{\left (-a^{2} x^{2} + 1\right )}^{\frac {3}{2}} \operatorname {artanh}\left (a x\right )}{3 \, a^{2}} + \frac {\sqrt {-a^{2} x^{2} + 1} x + \frac {\arcsin \left (a x\right )}{a}}{6 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 72, normalized size = 1.22 \begin {gather*} \frac {\sqrt {-a^{2} x^{2} + 1} {\left (a x + {\left (a^{2} x^{2} - 1\right )} \log \left (-\frac {a x + 1}{a x - 1}\right )\right )} - 2 \, \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{a x}\right )}{6 \, a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \sqrt {- \left (a x - 1\right ) \left (a x + 1\right )} \operatorname {atanh}{\left (a x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int x\,\mathrm {atanh}\left (a\,x\right )\,\sqrt {1-a^2\,x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________